package com.flyco.modules.admissionregistration.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flyco.common.aspect.annotation.Dict;
import com.flyco.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class AdmissionRegistrationExportVO {

    @Excel(name = "来访园区", width = 21)
    @ApiModelProperty(value = "来访园区")
    private String source;

    /**登记时间*/
    @Excel(name = "登记时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "登记时间")
    private Date createTime;

    @Excel(name = "预约时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    private Date appointmentTime;

    /**入园事项（出入园区目的）提货  送货  拜访*/
    @Excel(name = "入园事项", width = 15)
    private String purpose;

    /**登记人员工作单位*/
    @Excel(name = "单位名称", width = 25)
    private String companyName;

    /**车牌号*/
    @Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String carNumberPlate;

    /**访问者信息*/
    @Excel(name = "登记姓名", width = 15)
    private String visitorsName;

    /**访问者联系方式*/
    @Excel(name = "联系方式", width = 15)
    private String visitorsPhone;

    /**随行人员信息，json格式保存*/
    @Excel(name = "随行人员", width = 25)
    private String entourage;

    @Excel(name = "状态", width = 25)
    private String status;

    @Excel(name = "离园时间", width = 25 ,format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date leaveTime;

}
